//
// Created by Castle on 2025/10/22.
//

#include <iostream>
#include <ostream>
using namespace std;

int main() {

    int a {20};
    int b {30};
    int max {};
    cout << "using regular if" << endl;

    if ( a > b) {
        max = a;
    }else {
        max = b;
    }

    max = (a > b) ? a : b;
    cout << "max: " << max << endl;

    return 0;
}